package com.tanhua.dubbo.api;

import com.tanhua.manage.domain.vo.PageResult;

public interface FriendApi {
    /**
     * 交友
     */
    void makeFriend(Long userId, Long userId1);

    /**
     * 联系人分页查询
     * @param userId
     * @param page
     * @param pageSize
     * @return
     */
    PageResult findPage(Long userId, Long page, Long pageSize);

    Long countByUserId(Long userId);

    PageResult findPageWithScore(Long userId, Long page, Long pageSize);
}
